package com.cuitrip.component.refresh;

import android.content.Context;
import android.support.v4.widget.SwipeRefreshLayout;
import android.util.AttributeSet;

import com.cuitrip.util.ResourceUtil;

/**
 * Created by ak on 15/10/29.
 */
public class StyledSwipeRefreshLayout extends SwipeRefreshLayout {


    public StyledSwipeRefreshLayout(Context context) {
        super(context);
        initInternal();
    }

    public StyledSwipeRefreshLayout(Context context, AttributeSet attrs) {
        super(context, attrs);
        initInternal();
    }

    private void initInternal(){
        setColorSchemeColors(ResourceUtil.getThemeColor());
    }


}
